

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.png">
  <link rel="icon" href="/img/favicon.png">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="author" content="Han Qiu">
  <meta name="keywords" content="">
  
    <meta name="description" content="一、视口视口（viewport）就是浏览器显示页面内容的屏幕区域。视口可以分为布局视口、视觉视口和理想视口 1、布局视口 layout viewport 一般移动设备的浏览器都默认设置了一个布局视口，用于解决早期的pc端页面在手机上显示的问题 ios，android基本都将这个视口的分辨率设置为980px，所以pc上的网页大多都能在手机上呈现，只不过元素看上去很小，一般默认可以通过手动缩放网页">
<meta property="og:type" content="article">
<meta property="og:title" content="移动端布局简介">
<meta property="og:url" content="http://example.com/2022/02/14/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/index.html">
<meta property="og:site_name" content="寒秋の博客">
<meta property="og:description" content="一、视口视口（viewport）就是浏览器显示页面内容的屏幕区域。视口可以分为布局视口、视觉视口和理想视口 1、布局视口 layout viewport 一般移动设备的浏览器都默认设置了一个布局视口，用于解决早期的pc端页面在手机上显示的问题 ios，android基本都将这个视口的分辨率设置为980px，所以pc上的网页大多都能在手机上呈现，只不过元素看上去很小，一般默认可以通过手动缩放网页">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E5%B8%83%E5%B1%80%E8%A7%86%E5%8F%A3.png">
<meta property="og:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E8%A7%86%E8%A7%89%E8%A7%86%E5%8F%A3.png">
<meta property="og:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/meta%E6%A0%87%E7%AD%BE.png">
<meta property="og:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E7%89%A9%E7%90%86%E5%83%8F%E7%B4%A0&%E7%89%A9%E7%90%86%E5%83%8F%E7%B4%A0%E6%AF%94.png">
<meta property="og:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/ps%E6%8F%92%E4%BB%B6cutterman.png">
<meta property="og:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E6%8A%80%E6%9C%AF%E9%80%89%E5%9E%8B.png">
<meta property="article:published_time" content="2022-02-14T03:35:13.000Z">
<meta property="article:modified_time" content="2022-02-15T03:11:05.649Z">
<meta property="article:author" content="Han Qiu">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E5%B8%83%E5%B1%80%E8%A7%86%E5%8F%A3.png">
  
  
  <title>移动端布局简介 - 寒秋の博客</title>

  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css" />


  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@4/github-markdown.min.css" />
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hint.css@2/hint.min.css" />

  
    
    
      
      <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@10/styles/github-gist.min.css" />
    
  

  
    <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/jquery.fancybox.min.css" />
  


<!-- 主题依赖的图标库，不要自行修改 -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">


<link  rel="stylesheet" href="/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    var CONFIG = {"hostname":"example.com","root":"/","version":"1.8.14","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"right","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":false,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml"};
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 6.0.0"></head>


<body>
  <header style="height: 70vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/">
      <strong>blogs</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                <i class="iconfont icon-home-fill"></i>
                首页
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                <i class="iconfont icon-archive-fill"></i>
                归档
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/">
                <i class="iconfont icon-category-fill"></i>
                分类
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/">
                <i class="iconfont icon-tags-fill"></i>
                标签
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                <i class="iconfont icon-user-fill"></i>
                关于
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              &nbsp;<i class="iconfont icon-search"></i>&nbsp;
            </a>
          </li>
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">&nbsp;<i
                class="iconfont icon-dark" id="color-toggle-icon"></i>&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="banner" id="banner" parallax=true
         style="background: url('/img/default.png') no-repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
          <div class="page-header text-center fade-in-up">
            <span class="h2" id="subtitle" title="移动端布局简介">
              
            </span>

            
              <div class="mt-3">
  
  
    <span class="post-meta">
      <i class="iconfont icon-date-fill" aria-hidden="true"></i>
      <time datetime="2022-02-14 11:35" pubdate>
        2022年2月14日 中午
      </time>
    </span>
  
</div>

<div class="mt-1">
  
    <span class="post-meta mr-2">
      <i class="iconfont icon-chart"></i>
      1.9k 字
    </span>
  

  
    <span class="post-meta mr-2">
      <i class="iconfont icon-clock-fill"></i>
      
      
      16 分钟
    </span>
  

  
  
</div>

            
          </div>

          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="d-none d-lg-block col-lg-2"></div>
    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div class="py-5" id="board">
          <article class="post-content mx-auto">
            <!-- SEO header -->
            <h1 style="display: none">移动端布局简介</h1>
            
            <div class="markdown-body">
              <h3 id="一、视口"><a href="#一、视口" class="headerlink" title="一、视口"></a>一、视口</h3><p>视口（viewport）就是浏览器显示页面内容的屏幕区域。视口可以分为布局视口、视觉视口和理想视口</p>
<h4 id="1、布局视口-layout-viewport"><a href="#1、布局视口-layout-viewport" class="headerlink" title="1、布局视口 layout viewport"></a>1、布局视口 layout viewport</h4><ul>
<li>一般移动设备的浏览器都默认设置了一个布局视口，用于解决早期的pc端页面在手机上显示的问题</li>
<li>ios，android基本都将这个视口的分辨率设置为980px，所以pc上的网页大多都能在手机上呈现，只不过元素看上去很小，一般默认可以通过手动缩放网页</li>
</ul>
<p><img src="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E5%B8%83%E5%B1%80%E8%A7%86%E5%8F%A3.png" srcset="/img/loading.gif" lazyload alt="布局视口"></p>
<h4 id="2、视觉视口-visual-viewport"><a href="#2、视觉视口-visual-viewport" class="headerlink" title="2、视觉视口 visual viewport"></a>2、视觉视口 visual viewport</h4><ul>
<li>字面意思，它是用户正在看到的网站的区域，注意：是网站的区域</li>
<li>我们可以通过缩放去操作视觉视口，但不会影响布局视口，布局视口仍保持原来的宽度</li>
</ul>
<p><img src="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E8%A7%86%E8%A7%89%E8%A7%86%E5%8F%A3.png" srcset="/img/loading.gif" lazyload alt="视觉视口"></p>
<h4 id="3、理想视口-ideal-viewport"><a href="#3、理想视口-ideal-viewport" class="headerlink" title="3、理想视口 ideal viewport"></a>3、理想视口 ideal viewport</h4><ul>
<li>为了使网站在移动端有最理想的浏览和阅读宽度而设定</li>
<li>理想视口，对设备来讲，是最理想的视口尺寸</li>
<li>需要手动添写meta视口标签通知浏览器操作</li>
<li>meta视口标签的主要目的：布局视口的宽度应该和理想视口的宽度一致，简单理解就是设备有多宽，我们的布局视口就有多宽</li>
</ul>
<h4 id="4、meta标签"><a href="#4、meta标签" class="headerlink" title="4、meta标签"></a>4、meta标签</h4><p><code>&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0&quot;&gt;</code></p>
<p><img src="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/meta%E6%A0%87%E7%AD%BE.png" srcset="/img/loading.gif" lazyload alt="meta标签"></p>
<h3 id="二、二倍图"><a href="#二、二倍图" class="headerlink" title="二、二倍图"></a>二、二倍图</h3><h4 id="1、物理像素-amp-物理像素比"><a href="#1、物理像素-amp-物理像素比" class="headerlink" title="1、物理像素&amp;物理像素比"></a>1、物理像素&amp;物理像素比</h4><ul>
<li>物理像素指的是屏幕显示的最小颗粒，是物理真实存在的。这是厂商出厂时就设置好了，比如苹果6/7/8是750 * 1334</li>
<li>我们开发时候的1px不一定等于1个物理像素</li>
<li>pc端页面，1px等于1个物理像素，但移动端就不尽相同</li>
<li>一个px能显示的物理像素点个数，称为物理像素比或屏幕像素比</li>
</ul>
<p><img src="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E7%89%A9%E7%90%86%E5%83%8F%E7%B4%A0&%E7%89%A9%E7%90%86%E5%83%8F%E7%B4%A0%E6%AF%94.png" srcset="/img/loading.gif" lazyload alt="物理像素&amp;物理像素比"></p>
<h4 id="2、多倍图"><a href="#2、多倍图" class="headerlink" title="2、多倍图"></a>2、多倍图</h4><ul>
<li>我们准备的图片比实际需要的大小大一倍，然后手动缩小为需要大小，这种方式就是2倍图。例如：需要50 * 50的图片，我们放一个100 * 100的图片，然后把图片宽高设置为50 * 50</li>
<li>对于一张50 * 50的图片，在手机Retina（视网膜屏幕）中打开，按照刚才的物理像素比会放大倍数，这样就会造成图片模糊</li>
<li>在标准的viewport设置中，使用倍图来提高图片质量，解决在高清设备中的模糊问题</li>
<li>通常使用二倍图，因为IPhone6/7/8的影响，但是现在还存在3倍图4倍图的情况，这个看实际开发公司需求</li>
<li>背景图片注意缩放问题</li>
</ul>
<h4 id="3、背景缩放background-size"><a href="#3、背景缩放background-size" class="headerlink" title="3、背景缩放background-size"></a>3、背景缩放background-size</h4><p>background-size属性规定了背景图片的尺寸 <code>background-size: 背景图片宽度 背景图片高度;</code></p>
<ul>
<li>单位：长度 | 百分比 | cover | contain</li>
<li>cover：等比例缩放，要完全覆盖div盒子，可能有部分背景图片显示不全</li>
<li>contain：高度和宽度等比例缩放，当宽度或高度铺满div盒子就不再进行拉伸了，可能有部分空白区域</li>
</ul>
<h4 id="4、多倍图切图cutterman（ps插件）"><a href="#4、多倍图切图cutterman（ps插件）" class="headerlink" title="4、多倍图切图cutterman（ps插件）"></a>4、多倍图切图cutterman（ps插件）</h4><p><img src="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/ps%E6%8F%92%E4%BB%B6cutterman.png" srcset="/img/loading.gif" lazyload alt="ps插件cutterman"></p>
<h3 id="三、移动端开发选择"><a href="#三、移动端开发选择" class="headerlink" title="三、移动端开发选择"></a>三、移动端开发选择</h3><h4 id="1、移动端主流方案"><a href="#1、移动端主流方案" class="headerlink" title="1、移动端主流方案"></a>1、移动端主流方案</h4><ol>
<li><p>单独制作移动端页面（主流）</p>
</li>
<li><p>响应式页面兼容移动端（其次）</p>
</li>
</ol>
<h4 id="2、单独移动端页面（主流）"><a href="#2、单独移动端页面（主流）" class="headerlink" title="2、单独移动端页面（主流）"></a>2、单独移动端页面（主流）</h4><p>通常情况下，网址域名前面加m（mobile）可以打开移动端。通过判断设备，如果是移动端打开，则跳到移动端页面</p>
<h4 id="3、响应式页面兼容pc移动端（其次）"><a href="#3、响应式页面兼容pc移动端（其次）" class="headerlink" title="3、响应式页面兼容pc移动端（其次）"></a>3、响应式页面兼容pc移动端（其次）</h4><p>三星电子官网：<a target="_blank" rel="noopener" href="http://www.samsung.com/cn/%EF%BC%8C%E9%80%9A%E8%BF%87%E5%88%A4%E6%96%AD%E5%B1%8F%E5%B9%95%E5%AE%BD%E5%BA%A6%E6%9D%A5%E6%94%B9%E5%8F%98%E6%A0%B7%E5%BC%8F%EF%BC%8C%E4%BB%A5%E9%80%82%E5%BA%94%E4%B8%8D%E5%90%8C%E7%BB%88%E7%AB%AF">www.samsung.com/cn/，通过判断屏幕宽度来改变样式，以适应不同终端</a><br>缺点：制作麻烦，需要花很大精力去调兼容性问题</p>
<h3 id="四、移动端技术解决方案"><a href="#四、移动端技术解决方案" class="headerlink" title="四、移动端技术解决方案"></a>四、移动端技术解决方案</h3><ul>
<li>移动端浏览器，基本以webkit内核为主，可以放心使用h5标签和css3样式，同时浏览器的私有前缀只需要加webkit即可</li>
<li>移动端css初始化推荐使用normalize.css</li>
<li>css3盒子模型box-sizing<ul>
<li>移动端可以全部css3盒子模型<code>box-sizing: border-box;</code></li>
<li>pc端如果完全需要兼容，就用传统模式，如果不考虑兼容，就选择css3盒子模型</li>
</ul>
</li>
<li>特殊样式<figure class="highlight css"><table><tr><td class="gutter"><div class="code-wrapper"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br></pre></div></td><td class="code"><pre><code class="hljs css"><span class="hljs-comment">/* css3盒子模型 */</span><br><span class="hljs-attribute">box-sizing</span>: border-box;<br>-webkit-<span class="hljs-attribute">box-sizing</span>: border-box;<br><br><span class="hljs-comment">/* 点击高亮我们需要清除，设置为transparent完成透明*/</span><br>-webkit-tap-highlight-<span class="hljs-attribute">color</span>: transparent;<br><br><span class="hljs-comment">/* 在移动端浏览器默认的外观，在IOS上加这个属性才能给按钮和输入框自定义样式 */</span><br>-webkit-appearance: none;<br><br><span class="hljs-comment">/* 禁用长按页面时的弹出菜单 */</span><br><span class="hljs-selector-tag">img</span>, <span class="hljs-selector-tag">a</span> &#123; -webkit-touch-callout: none; &#125;<br></code></pre></td></tr></table></figure></li>
</ul>
<h3 id="五、移动端技术选型"><a href="#五、移动端技术选型" class="headerlink" title="五、移动端技术选型"></a>五、移动端技术选型</h3><p><img src="https://gitee.com/huqian025/my-images/raw/master/css/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E5%B8%83%E5%B1%80%E7%AE%80%E4%BB%8B/%E7%A7%BB%E5%8A%A8%E7%AB%AF%E6%8A%80%E6%9C%AF%E9%80%89%E5%9E%8B.png" srcset="/img/loading.gif" lazyload alt="移动端技术选型"></p>

            </div>
            <hr>
            <div>
              <div class="post-metas mb-3">
                
                  <div class="post-meta mr-3">
                    <i class="iconfont icon-category"></i>
                    
                      <a class="hover-with-bg" href="/categories/css/">css</a>
                    
                  </div>
                
                
              </div>
              
                <p class="note note-warning">
                  
                    本博客所有文章除特别声明外，均采用 <a target="_blank" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" rel="nofollow noopener noopener">CC BY-SA 4.0 协议</a> ，转载请注明出处！
                  
                </p>
              
              
                <div class="post-prevnext">
                  <article class="post-prev col-6">
                    
                    
                      <a href="/2022/02/14/rem%E9%80%82%E9%85%8D%E5%B8%83%E5%B1%80/">
                        <i class="iconfont icon-arrowleft"></i>
                        <span class="hidden-mobile">rem适配布局</span>
                        <span class="visible-mobile">上一篇</span>
                      </a>
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/2022/02/14/css3%E6%96%B0%E7%89%B9%E6%80%A7/">
                        <span class="hidden-mobile">css3新特性</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
          </article>
        </div>
      </div>
    </div>
    
      <div class="d-none d-lg-block col-lg-2 toc-container" id="toc-ctn">
        <div id="toc">
  <p class="toc-header"><i class="iconfont icon-list"></i>&nbsp;目录</p>
  <div class="toc-body" id="toc-body"></div>
</div>

      </div>
    
  </div>
</div>

<!-- Custom -->


    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
    

    
  </main>

  <footer class="text-center mt-5 py-3">
  <div class="footer-content">
     <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> 
  </div>
  

  

  
</footer>


  <!-- SCRIPTS -->
  
  <script  src="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js" ></script>
<script  src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.min.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>

<!-- Plugins -->


  <script  src="/js/local-search.js" ></script>



  
    <script  src="/js/img-lazyload.js" ></script>
  



  



  
    <script  src="https://cdn.jsdelivr.net/npm/tocbot@4/dist/tocbot.min.js" ></script>
  
  
    <script  src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/jquery.fancybox.min.js" ></script>
  
  
    <script  src="https://cdn.jsdelivr.net/npm/anchor-js@4/anchor.min.js" ></script>
  
  
    <script defer src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js" ></script>
  






  <script  src="https://cdn.jsdelivr.net/npm/typed.js@2/lib/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var title = document.getElementById('subtitle').title;
      
        typing(title);
      
    })(window, document);
  </script>















<!-- 主题的启动项 保持在最底部 -->
<script  src="/js/boot.js" ></script>


</body>
</html>
